import type { DishFlavor } from './DishFlavor'
/**
 * 菜品统计数据
 *
 * @author zhuangjie
 * @date 2024/05/03
 */
export class DishStatisticsInfo {
  /** 好评率 */
  public goodRate: number | null

  /** 近30天下单数 */
  public count: number | null
}
/**
 * <p>
 * 菜品
 * </p>
 *
 *  *  */
export default class Dish {
  public id: number
  public dishCategoryId: number
  public shopId: number
  public name: string
  public image: string
  public labels: string
  public describe: string
  public oldPrice: number
  public nowPrice: number
  public betterDisplay: number
  public sellNumber: number
  public status: number
  public createTime: Date
  public updateTime: Date
  /**
   * 逻辑删除
   */
  public deleted: number

  public dishFlavorList: DishFlavor[]

  public statisticsInfo: DishStatisticsInfo
}
